﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:EIA.SLClient.ProjectManage.Basic"
	xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" 
    xmlns:EIA_SLClient_Utility_Behaviors="clr-namespace:EIA.SLClient.Utility.Behaviors;assembly=EIA.SLClient.Utility"
	mc:Ignorable="d"
	x:Class="EIA.SLClient.ProjectManage.Basic.ToolProjectCreateView"
	d:DesignWidth="120" d:DesignHeight="30">

	<Grid x:Name="LayoutRoot">
		<Button Style="{StaticResource bs_clear}" Width="120" Height="30" HorizontalAlignment="Left" Command="{Binding CreateProjectCommand}" Click="Button_Click">
			<Button.Background>
				<ImageBrush Stretch="Fill" ImageSource="/EIA.SLClient.ProjectManage.Basic;component/assets/img/项目登记-1.png"/>
			</Button.Background>
			<i:Interaction.Behaviors>
				<EIA_SLClient_Utility_Behaviors:Background4StateBehavior>
					<EIA_SLClient_Utility_Behaviors:Background4StateBehavior.BackgroundPressed>
						<ImageBrush Stretch="Fill" ImageSource="/EIA.SLClient.ProjectManage.Basic;component/assets/img/项目登记-3.png"/>
					</EIA_SLClient_Utility_Behaviors:Background4StateBehavior.BackgroundPressed>
					<EIA_SLClient_Utility_Behaviors:Background4StateBehavior.BackgroundNormal>
						<ImageBrush Stretch="Fill" ImageSource="/EIA.SLClient.ProjectManage.Basic;component/assets/img/项目登记-1.png"/>
					</EIA_SLClient_Utility_Behaviors:Background4StateBehavior.BackgroundNormal>
					<EIA_SLClient_Utility_Behaviors:Background4StateBehavior.BackgroundMouseOver>
						<ImageBrush Stretch="Fill" ImageSource="/EIA.SLClient.ProjectManage.Basic;component/assets/img/项目登记-2.png"/>
					</EIA_SLClient_Utility_Behaviors:Background4StateBehavior.BackgroundMouseOver>
					<EIA_SLClient_Utility_Behaviors:Background4StateBehavior.BackgroundDisabled>
						<ImageBrush Stretch="Fill" ImageSource="/EIA.SLClient.ProjectManage.Basic;component/assets/img/项目登记-1.png" Opacity="0.4"/>
					</EIA_SLClient_Utility_Behaviors:Background4StateBehavior.BackgroundDisabled>
				</EIA_SLClient_Utility_Behaviors:Background4StateBehavior>
			</i:Interaction.Behaviors>
		</Button>
	</Grid>
</UserControl>
